﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Web;

namespace Eksponent.CropUp
{
    [Obsolete("This class is only here to provide legacy support")]
    public class CropUpModule : IHttpModule
    {
        [Obsolete("Use CropUp.GetUrl instead.")]
        public static string GetImageUrl(string imagePath, ImageSizeArguments args, string metaData = null, ImageCropData data = null)
        {
            return CropUp.GetUrl(imagePath, args);
        }

        [Obsolete("Use Cropup.Dialect.GetImageSize instead.")]
        public static Size GetImageSize(string path)
        {
            return CropUp.Dialect.GetImageSize(path);
        }

        public void Init(HttpApplication context)
        {
            
        }

        public void Dispose()
        {
            
        }
    }
}
